
from celery import shared_task

from . import handles


@shared_task(queue='sms')
def send_sms_code_task(phone, code):
    print("handles.send_sms_code")
    handles.send_sms_code(phone, code)


@shared_task(queue='sms')
def update_sms_record_status_task(phone, data):
    handles.update_sms_record_status(phone, data)

